Update entryType names to follow conventions Currently, we have entryTypes 'firstInput', 'layoutShift', and 'largestContentfulPaint' in experimental code (disabled by default, at most under Origin Trial). This CL updates the naming to follow the conventions specified at https://w3ctag.github.io/design-principles/#casing-rules, so they become 'first-input', 'layout-shift', and 'largest-contentful-paint'. Bug: 823744, 965505, 581518 Change-Id: I989a59fb62b886ab305b0e0fb4be8f3556c1ca82 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1685975 Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Reviewed-by: Timothy Dresser <tdresser@chromium.org> Cr-Commit-Position: refs/heads/master@{#674490} diff --git a/event-timing/programmatic-click-not-observed.html b/event-timing/programmatic-click-not-observed.html index 4c7c4e7..9eb0670 100644 --- a/event-timing/programmatic-click-not-observed.html +++ b/event-timing/programmatic-click-not-observed.html
@@ -27,7 +27,7 @@ // the one from the clickAndBlockMain() call. assert_greater_than_equal(entry.processingStart, beforeClick); // Check that the first input entry was also from the second click. - const firstInput = performance.getEntriesByType('firstInput'); + const firstInput = performance.getEntriesByType('first-input'); assert_equals(firstInput.length, 1); assert_greater_than_equal(firstInput[0].processingStart, beforeClick); }));